#include "Helpers.h"
#include <SDL.h>
#include <Windows.h>

void Helpers::PostQuitMessage() {

	MessageBox(NULL, "An error seems to have occured and the program will now exit. Please check the Log for more information", "ERROR!", MB_OK | MB_ICONERROR);

	SDL_Event* ev = new SDL_Event;
	ev->type = SDL_QUIT;
	SDL_PushEvent(ev);
}